package com.zuo.demo01.dao;

import com.zuo.demo01.pojo.Tag;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Mapper
@Repository
public interface TagMapper {

    public List<Tag> findAll(Map<String,Integer> map);

    public List<Tag> findAll1();

    public Tag selectByName(String name);

    public int count();

    public int insert(Tag tag);

    public int delete(int id);


}
